package blackstar.agent.jvm;

import java.util.Map;

import javax.management.MBeanServerConnection;
import javax.management.remote.JMXConnector;

/**
 * @author Ray (ayufox@gmail.com)
 */
public interface JMXProxy
{
	String getId();
	
	String getPid();
	
	JMXConnector getLocalVMConnector();
	
	String loadAgent(String agentType, String agentArgs);

	MBeanServerConnection getLocalMBeanServerConnection();
	
	Map<String, Object> getProperties();
}
